using System.Collections.Generic;
using Newtonsoft.Json;

namespace OpenRefineEngine.Operations
{
    public class Operation
    {
        [JsonProperty(PropertyName = "op")]
        public string OperationKeyName { get; set; }
        public string Description { get; set; }
        public string OldColumnName { get; set; }
        public string NewColumnName { get; set; }
        public EngineConfig EngineConfig { get; set; }
        public string ColumnName { get; set; }
        public string Expression { get; set; }
        public List<Edit> Edits { get; set; }
        public string OnError { get; set; }
        public bool? Repeat { get; set; }
        public int? RepeatCount { get; set; }
    }
}